#ifndef __RGA_API_H__
#define __RGA_API_H__

#include <android/hardware_buffer.h>

#include "rga.h"
#include "im2d.h"

#ifdef __cplusplus
extern "C" {
#endif

//rga_buffer_t wrapbuffer_handle_c(void *hnd);
//rga_buffer_t wrapbuffer_GraphicBuffer_c(void *buf);

rga_buffer_t wrapbuffer_AHardwareBuffer_c(AHardwareBuffer *buf);

#ifdef __cplusplus
}
#endif

#endif